package com.zhijian.medical.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 产品发货填写表单 查询条件vo
 *
 * @author HCG
 * @version 1.0
 * @date 2022-03-19 22:59:46
 */
@Data
@Api(tags = "产品发货填写表单查询条件vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductSendOutDetailSearchVo implements Serializable {

    private static final long serialVersionUID = -1;

    /**
     * 页码
     */
    @ApiModelProperty("页码")
    private Integer pageNum;

    /**
     * 数据库查询参数，前端忽略
     */
    @ApiModelProperty(value = "页码", hidden = true)
    private Integer startIndex;

    /**
     * 条数
     */
    @ApiModelProperty("每页显示的条数")
    private Integer pageSize;

    /**
     * 产品订单id
     */
    @ApiModelProperty("产品订单id")
    @NotNull(message = "产品订单id不能为空")
    private Long productId;

    /**
     * 状态，0：未收货，1：已收货
     */
    @ApiModelProperty("状态，0：未收货，1：已收货")
    private Byte status;

}